package com.gw.websocket.pojo;

public class ResultMessage { //服务器发送给浏览器的websocket数据
    private boolean isSystem; //标识是否是系统消息
    private String fromName; //发送者
    private Object message; //如果是系统消息则是数组

    public boolean getIsSystem() {
        return isSystem;
    }

    public void setIsSystem(boolean system) {
        isSystem = system;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }


}
